package Year2021.month10.Day21;

public class PetsTest {
    public static void main(String[] args) {
        Dog1 dog1=new Dog1("大黄","阿拉斯加",20.8);
        dog1.show();
        dog1.eat();
        dog1.sleep();
        dog1.caught();
        Cat1 cat1=new Cat1("汤姆","折耳",10.3);
        cat1.show();
        cat1.eat();
        cat1.sleep();
        cat1.climbUpATree();
        Parrot parrot=new Parrot("大牛","亚历山大",1.5);
        parrot.show();
        parrot.fly();
        parrot.eat();
        parrot.sleep();





    }

}
